home *** CD-ROM | disk | FTP | other *** search
- $numdevs{$name} = 65; $stddevs{$name} = "^(...S?[0-5]?)\$";
-
- $generate{$name} = sub {
- if ($i == 64) { &$MkNod ("public", "tty", "c", 5, $0); } else {
- # Note that you can dialout on a ttyS if handled properly !
- &$MkNod ("dialout", sprintf("ttyS%d",$i), "c", 4, $i+64);
- &$MkNod ("dialout", sprintf("cua%d",$i), "c", 5, $i+64);
- }
- };
-